<? if (count($products)>0) { ?>

<div class="art-content-layout-row">
  <? for ($i=0; $i<count($products); $i++) { 
	  		$pro = $products[$i];
			$img = $FullUrl.'/'.GetImage($pro['img']);
			$link = GetProductLinkFull($pro, $lg);
            $price = $pro['price'];
            $pro_name = $pro['name_'.$lg];
            $pro_short = $pro['short_vn'];
            $pro_price = $pro['price'];
	  ?>
  
    <div class="art-layout-cell layout-item-<?=($i==(count($products)-1)?'5':'4')?>" style="width: 25%;">
      <h1><?=$pro_name?></h1>
      <p><span style="font-style:italic;">Hình Ảnh Theo Ý Bạn.</span></p>
      <p style="text-align: center;"><img width="154" height="154" alt="" src="<?=$img?>" /><br />
      </p>
      <p class="intro-product-main"><?=$pro_short?></p>
      <p><span style="font-style:italic;"><?=isset($pro_price)?number_format($pro_price):'0'?> VNĐ</span></p>
      <p><a href="<?=$link?>">Xem Chi Tiết...</a></p>
    </div>
    
  <?
  	}
  ?>
</div>
<? }?>
